package com.wish.g01.base.service.impl;

import com.wish.g01.base.entity.TbSubway;
import com.wish.g01.base.mapper.TbSubwayMapper;
import com.wish.g01.base.service.ITbSubwayService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author hao
 * @since 2022-05-24
 */
@Service
public class TbSubwayServiceImpl extends ServiceImpl<TbSubwayMapper, TbSubway> implements ITbSubwayService {

    @Resource
    private TbSubwayMapper tbSubwayMapper;

    @Override
    public List<TbSubway> getsubway(Integer province) {
        return tbSubwayMapper.getsubway(province);
    }
}
